using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace InfoTech.VinhSon.Bussiness
{
	[Serializable]
	[Table("[dbo].[CSection]")]
	public partial class CSection
	{

		#region Properties

		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[Required]
		[Column("Id")]
		public System.Int32 Id { get; set; }

		[Column("Name")]
		public System.String Name { get; set; }

		[Column("Url")]
		public System.String Url { get; set; }

		[Column("Height")]
		public System.Int32? Height { get; set; }

		[Column("Width")]
		public System.Int32? Width { get; set; }

		[Column("Priority")]
		public System.Int32? Priority { get; set; }

		[Column("Detail")]
		public System.String Detail { get; set; }

		[Column("Word")]
		public System.Boolean? Word { get; set; }

		[Column("Pdf")]
		public System.Boolean? Pdf { get; set; }

		[Column("PowerPoint")]
		public System.Boolean? PowerPoint { get; set; }

		[Column("Video")]
		public System.Boolean? Video { get; set; }

		[Column("Other")]
		public System.Boolean? Other { get; set; }

		[Column("Type")]
		public System.Int32? Type { get; set; }

		[Column("Activated")]
		public System.Boolean? Activated { get; set; }

		[Column("Inactive")]
		public System.Boolean? Inactive { get; set; }

		[Column("LastModified")]
		public System.DateTime? LastModified { get; set; }

		#endregion

		#region Navigation

		public virtual Category Category { get; set; }

		#endregion

	}
}
